package com.zjl.media.netty;

import io.netty.channel.SimpleChannelInboundHandler;

/**
 * @author linfuxin Created on 2022-03-02 08:51:36
 */
public class MediaServerInitializer extends NettyChannelInitializer {
    private final FlvHandler flvHandler;

    public MediaServerInitializer(FlvHandler flvHandler) {
        this.flvHandler = flvHandler;
    }

    @Override
    protected SimpleChannelInboundHandler<Object> getHandler() {
        return flvHandler;
    }
}
